from django.conf.urls.defaults import *
from django.views.generic.simple import direct_to_template
from online_funding import settings
import fund_registration.urls
from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    (r'^$', direct_to_template, { 'template': 'index.html' }),
    (r'^registration/', include(fund_registration.urls)),
    (r'^admin/', include(admin.site.urls)),
    (r'^media/(?P<path>.*)$', 'django.views.static.serve',
        {'document_root': settings.MEDIA_ROOT, 'show_indexes': True}),
)
